package com.xintonghua.bussiness.bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.io.Serializable;

/**
 * Created by liqi on 2018/3/30.
 */

public class UserInfoBean implements Serializable, Parcelable {

    /**
     * last_login_time : 2018-03-11 17:20:59
     * lv : S
     * type : 0
     * register_time : 2018-01-09 10:10:14
     * invite_type : 1
     * password : e10adc3949ba59abbe56e057f20f883e
     * constellation : null
     * msg_remind : 0
     * vip_type : 0
     * integral : null
     * nickname : 撒大沙发
     * id : 1
     * shopId : 1
     * wx : null
     * create_user_id : 1
     * invite_id : 1
     * head_img : new_logo.png
     * sex : 1
     * vip_time : 2018-01-19 10:55:15
     * birth : 1990-03-10 00:00:00
     * vip_id : null
     * shopUserId : 1
     * parent_type : 1
     * totalScore : 200
     * token : null
     * money : 1000000
     * phone : 18228516801
     * zfb : null
     * account :
     * status : 0
     */

    private String last_login_time;
    private String lv;
    private String type;
    private String register_time;
    private String invite_type;
    private String password;
    private String constellation;
    private String msg_remind;
    private String vip_type;
    private String integral;
    private String nickname;
    private String id;
    private String shopId;
    private String wx;
    private String create_user_id;
    private String invite_id;
    private String head_img;
    private String sex;
    private String vip_time;
    private String birth;
    private String vip_id;
    private String shopUserId;
    private String parent_type;
    private String totalScore;
    private String token;
    private String money;
    private String phone;
    private String zfb;
    private String account;
    private String status;

    public String getLast_login_time() {
        return last_login_time;
    }

    public void setLast_login_time(String last_login_time) {
        this.last_login_time = last_login_time;
    }

    public String getLv() {
        return lv;
    }

    public void setLv(String lv) {
        this.lv = lv;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getRegister_time() {
        return register_time;
    }

    public void setRegister_time(String register_time) {
        this.register_time = register_time;
    }

    public String getInvite_type() {
        return invite_type;
    }

    public void setInvite_type(String invite_type) {
        this.invite_type = invite_type;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getConstellation() {
        return constellation;
    }

    public void setConstellation(String constellation) {
        this.constellation = constellation;
    }

    public String getMsg_remind() {
        return msg_remind;
    }

    public void setMsg_remind(String msg_remind) {
        this.msg_remind = msg_remind;
    }

    public String getVip_type() {
        return vip_type;
    }

    public void setVip_type(String vip_type) {
        this.vip_type = vip_type;
    }

    public String getIntegral() {
        return integral;
    }

    public void setIntegral(String integral) {
        this.integral = integral;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public String getWx() {
        return wx;
    }

    public void setWx(String wx) {
        this.wx = wx;
    }

    public String getCreate_user_id() {
        return create_user_id;
    }

    public void setCreate_user_id(String create_user_id) {
        this.create_user_id = create_user_id;
    }

    public String getInvite_id() {
        return invite_id;
    }

    public void setInvite_id(String invite_id) {
        this.invite_id = invite_id;
    }

    public String getHead_img() {
        return head_img;
    }

    public void setHead_img(String head_img) {
        this.head_img = head_img;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getVip_time() {
        return vip_time;
    }

    public void setVip_time(String vip_time) {
        this.vip_time = vip_time;
    }

    public String getBirth() {
        return birth;
    }

    public void setBirth(String birth) {
        this.birth = birth;
    }

    public String getVip_id() {
        return vip_id;
    }

    public void setVip_id(String vip_id) {
        this.vip_id = vip_id;
    }

    public String getShopUserId() {
        return shopUserId;
    }

    public void setShopUserId(String shopUserId) {
        this.shopUserId = shopUserId;
    }

    public String getParent_type() {
        return parent_type;
    }

    public void setParent_type(String parent_type) {
        this.parent_type = parent_type;
    }

    public String getTotalScore() {
        return totalScore;
    }

    public void setTotalScore(String totalScore) {
        this.totalScore = totalScore;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getZfb() {
        return zfb;
    }

    public void setZfb(String zfb) {
        this.zfb = zfb;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.last_login_time);
        dest.writeString(this.lv);
        dest.writeString(this.type);
        dest.writeString(this.register_time);
        dest.writeString(this.invite_type);
        dest.writeString(this.password);
        dest.writeString(this.constellation);
        dest.writeString(this.msg_remind);
        dest.writeString(this.vip_type);
        dest.writeString(this.integral);
        dest.writeString(this.nickname);
        dest.writeString(this.id);
        dest.writeString(this.shopId);
        dest.writeString(this.wx);
        dest.writeString(this.create_user_id);
        dest.writeString(this.invite_id);
        dest.writeString(this.head_img);
        dest.writeString(this.sex);
        dest.writeString(this.vip_time);
        dest.writeString(this.birth);
        dest.writeString(this.vip_id);
        dest.writeString(this.shopUserId);
        dest.writeString(this.parent_type);
        dest.writeString(this.totalScore);
        dest.writeString(this.token);
        dest.writeString(this.money);
        dest.writeString(this.phone);
        dest.writeString(this.zfb);
        dest.writeString(this.account);
        dest.writeString(this.status);
    }

    public UserInfoBean() {
    }

    protected UserInfoBean(Parcel in) {
        this.last_login_time = in.readString();
        this.lv = in.readString();
        this.type = in.readString();
        this.register_time = in.readString();
        this.invite_type = in.readString();
        this.password = in.readString();
        this.constellation = in.readString();
        this.msg_remind = in.readString();
        this.vip_type = in.readString();
        this.integral = in.readString();
        this.nickname = in.readString();
        this.id = in.readString();
        this.shopId = in.readString();
        this.wx = in.readString();
        this.create_user_id = in.readString();
        this.invite_id = in.readString();
        this.head_img = in.readString();
        this.sex = in.readString();
        this.vip_time = in.readString();
        this.birth = in.readString();
        this.vip_id = in.readString();
        this.shopUserId = in.readString();
        this.parent_type = in.readString();
        this.totalScore = in.readString();
        this.token = in.readString();
        this.money = in.readString();
        this.phone = in.readString();
        this.zfb = in.readString();
        this.account = in.readString();
        this.status = in.readString();
    }

    public static final Parcelable.Creator<UserInfoBean> CREATOR = new Parcelable.Creator<UserInfoBean>() {
        @Override
        public UserInfoBean createFromParcel(Parcel source) {
            return new UserInfoBean(source);
        }

        @Override
        public UserInfoBean[] newArray(int size) {
            return new UserInfoBean[size];
        }
    };
}
